home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / less / dist / patch.blink < prev    next >
Encoding:
Internet Message Format  |  1992-04-10  |  1.2 KB

  1. To: pyramid!ctnews!unix386!mark@uunet.uu.net
  2. cc: 
  3. Fcc: 
  4. Subject: less bug
  5. X-Face: %2'i#(dROd-(2'`-!U)}q'%u@:^gnvj42}w_%pfh'2:An:m%i6{-2[':9~|7xX|:L`SHO'p
  6.      ]-UMALX=kqKk8|HKk4\Pmw5DcsyJ?[ZAAjN=?>!.1K%}GUW"d8!@E&|NA[EyQ~TEtIW]2QYs:NJN{L
  7.      yVwN(xW]~k|%U9apQK7M'ffVwjtmj&Ep_mO#}?k?yxDp!p:nEO\mS*KK0S}~a]H>n"WGvr;eO%uw[`
  8.      |Dt'A/8}mWhfT
  9. --------
  10.  
  11. I just found and fixed a bug in the termcap string initialization of 
  12. less-177.  The bug allows the sc_bl_out string to sometimes get the value
  13. of the "se" capability instead of the "me" cap, even though "mb" is used
  14. for sc_bl_in ("me" is the invers of both "mb" and "md").
  15.  
  16. The annoying result is that the entire screen starts blinking once you
  17. hit the first control character in a file viewed with less.
  18.  
  19. --Andreas
  20.  
  21. *** screen.c.dist    Wed Apr  3 16:26:10 1991
  22. --- screen.c    Thu Apr  9 22:06:58 1992
  23. ***************
  24. *** 385,391 ****
  25.           sc_bl_out = sc_s_out;
  26.       } else
  27.       {
  28. !         sc_bl_out = sc_b_out;
  29.       }
  30.   
  31.       sc_visual_bell = tgetstr("vb", &sp);
  32. --- 385,393 ----
  33.           sc_bl_out = sc_s_out;
  34.       } else
  35.       {
  36. !         sc_bl_out = tgetstr("me", &sp);
  37. !         if (hard || sc_bl_out == NULL)
  38. !             sc_bl_out = "";
  39.       }
  40.   
  41.       sc_visual_bell = tgetstr("vb", &sp);
  42.